import React from 'react';

import { Icon } from './base';

/**
 * 文玩
 *
 * @export
 * @class IconWenwan
 * @extends {Icon}
 */
export default class IconWenwan extends Icon {
    static defaultProps = {
        ...Icon.defaultProps,
        color: '#424242',
    };

    render() {
        const { color, className, style } = this.props;

        const { width, height } = this.getSize();

        return (
            <svg viewBox="0 0 1024 1024" width={width} height={height} style={style} className={className}>
                <path
                    fill={color}
                    d="M254.012235 482.484706c66.590118-10.887529 122.262588-9.456941 124.325647 3.207529 0.090353 0.527059-0.451765 1.129412-0.557176 1.67153-0.843294 4.728471-8.432941 10.194824-20.931765 15.73647l-0.271059 0.120471c-4.035765 1.776941-8.583529 3.553882-13.552941 5.330823-0.858353 0.301176-1.852235 0.602353-2.740706 0.90353-4.397176 1.520941-8.975059 3.011765-13.959529 4.487529-2.138353 0.617412-4.547765 1.219765-6.776471 1.837177-2.499765 0.692706-5.044706 1.370353-7.68 2.048-6.791529 1.731765-14.004706 3.403294-21.428706 5.014588-0.963765 0.195765-1.852235 0.421647-2.816 0.617412a599.958588 599.958588 0 0 1-52.736 8.628706c-1.927529 0.240941-3.734588 0.361412-5.632 0.572235-6.806588 0.752941-13.492706 1.400471-19.802353 1.837176-1.370353 0.105412-2.665412 0.165647-4.035764 0.256-6.821647 0.406588-13.372235 0.692706-19.425883 0.752942h-1.65647a232.508235 232.508235 0 0 1-18.416941-0.542118c-16.926118-1.234824-27.858824-4.457412-28.732236-9.833412-2.078118-12.649412 50.236235-31.744 116.826353-42.646588M968.026353 174.682353l-1.581177 14.004706c-1.144471-8.086588-7.484235-14.592-15.99247-15.058824-74.435765-4.186353-194.56 1.460706-445.560471 347.331765-45.221647 65.626353-76.077176 72.824471-76.077176 37.707294v-77.613176a7.228235 7.228235 0 0 0 0.451765-3.689412c-2.936471-18.010353-82.100706-20.058353-176.835765-4.562824-94.117647 15.390118-168.086588 42.315294-166.159059 60.29553l-0.165647 0.030117v146.522353c0 94.644706 76.709647 171.369412 171.354353 171.369412 121.916235 0 198.113882-30.012235 279.92847-171.369412 122.428235-211.531294 233.185882-433.046588 410.157177-444.611764a18.070588 18.070588 0 0 0 14.697412-9.231059l-0.150589 1.310117 0.225883-1.415529c0.993882-1.807059 1.686588-3.84 1.957647-6.008471 1.430588-10.947765 2.138353-19.922824 2.635294-27.51247l-0.015059-0.045177c0.662588-6.746353 1.129412-12.890353 1.129412-17.453176"
                ></path>
            </svg>
        );
    }
}
